package com.basic.modules.nykf.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.basic.common.utils.PageUtils;
import com.basic.common.utils.ParamsModel;
import com.basic.modules.nykf.entity.CustomerEntity;
import com.basic.common.utils.R;
import com.basic.modules.nykf.entity.CustomerFpEntity;
import com.basic.modules.nykf.entity.CustomerShopEntity;

import java.util.List;

public interface CustomerService extends IService<CustomerEntity> {

    PageUtils getCustomerList(ParamsModel<CustomerEntity> params);

    R addCustomerAndShop(CustomerEntity customerEntity);

    R editCustomerAndShop(CustomerEntity customerEntity);

    R addCustomerFpInfo(CustomerFpEntity customerFpEntity);

    List<CustomerFpEntity> getFpListByCustomerId(CustomerEntity customerEntity);

    List<CustomerEntity> getCustomerNameList();

    List<CustomerShopEntity> getCustomerShopList(String tskhmc);
}